﻿using System;
namespace hf.Model
{
	/// <summary>
	/// Article:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Article
	{
		public Article()
		{}
		#region Model
		private int _id;
		private int _lawyerid;
		private int _articletypeid;
		private string _title;
		private DateTime _addtime;
		private string _content;
		private int _hits;
		private int _isindex;
		private string _author;

        public int CityID { get; set; }
		/// <summary>
		/// 文章编号
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 律师ID
		/// </summary>
		public int LawyerID
		{
			set{ _lawyerid=value;}
			get{return _lawyerid;}
		}
		/// <summary>
		/// 0-成功案例 1-法学文集 2-律师随笔
		/// </summary>
		public int ArticleTypeID
		{
			set{ _articletypeid=value;}
			get{return _articletypeid;}
		}
		/// <summary>
		/// 标题
		/// </summary>
		public string Title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 发布日期
		/// </summary>
		public DateTime Addtime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 文章内容
		/// </summary>
		public string Content
		{
			set{ _content=value;}
			get{return _content;}
		}
		/// <summary>
		/// 点击
		/// </summary>
		public int Hits
		{
			set{ _hits=value;}
			get{return _hits;}
		}
		/// <summary>
		/// 是否推荐到首页
		/// </summary>
		public int isIndex
		{
			set{ _isindex=value;}
			get{return _isindex;}
		}
		/// <summary>
		/// 作者
		/// </summary>
		public string Author
		{
			set{ _author=value;}
			get{return _author;}
		}

        /// <summary>
        /// 是否置顶
        /// </summary>
        public int isTop { get; set; }

        /// <summary>
        /// 标题图片
        /// </summary>
        public string PicTitle { get; set; }

		#endregion Model

	}
}

